package com.naiterui.ehp.bs.pc.modules.sys.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.naiterui.ehp.bp.support.bean.annotation.FormatOriginalType;

import lombok.Data;

/**
 * <pre>
 *       字典VO
 * </pre>
 *
 * @author 王泽浩
 * @date 2019-06-25 10:59
 * @since 1.0.0
 */
@Data
public class DictVO implements java.io.Serializable {
    private static final long serialVersionUID = 379963436836338904L;
    /**
     * 字典类型
     */
    @JsonIgnore
    private String type;
    /**
     * 字典码
     */
    @FormatOriginalType
    private String code;
    /**
     * 字典值
     */
    private String value;

    public DictVO(String code, String value) {
        this.code = code;
        this.value = value;
    }
}
